﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <script src="~/Content/Script/jquery.min.js"></script>
    <title></title>
    <style>
        .isNoPublic {
            height: 1.4rem;
            width: 11.25rem;
            margin: 0 auto;
            font-size: .7rem;
            color: #fff;
            text-align: center;
            line-height: 1.4rem;
            position: absolute;
            left: 0;
            top: 0;
            z-index: 9999;
            background: url(https://shnbbucket.oss-cn-beijing.aliyuncs.com/20180315233216.png) no-repeat;
            background-size: 100%;
        }
        .padding15 {
            padding: 15px 20px;
            background: #F0F4F5;
        }

        p {
            margin: 0;
        }

        .picker input[type='file'] {
            opacity: 0;
        }

        .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
            color: #fff;
            background-color: #50AE55;
            border-color: transparent;
        }

        .myTabs.nav-tabs > li.active > a, .myTabs.nav-tabs > li.active > a:focus, .myTabs.nav-tabs > li.active > a:hover {
            color: #50AE55;
            cursor: default;
            background-color: #fff;
            border-bottom: 4px solid #ddd;
            border-bottom-color: #50AE55;
        }

        .con {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            padding: 15px 10px;
            background: white;
        }

            .con .left-con {
                width: 300px;
                min-height: 550px;
                background: url('/Content/webImgs/Market/redPacket/phone.png');
                background-size: 100% 100%;
                position: relative;
                box-shadow: 3px 0 10px #a29a9a;
                border-radius: 6px;
            }

                .con .left-con #phone {
                    width: 93%;
                    height: 78%;
                    position: absolute;
                    top: 14%;
                    left: 3%;
                }

                    .con .left-con #phone .tab-content {
                        height: 100%;
                        width: 100%;
                        position: absolute;
                    }

                        .con .left-con #phone .tab-content .phoneView {
                            width: 100%;
                            height: 100%;
                            position: absolute;
                            box-sizing: content-box;
                        }

            .con .right-con {
                flex: 1;
                margin-left: 15px;
                /*background: yellow;*/
                min-height: 500px;
            }



        .layer {
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.4);
            position: absolute;
            top: 0;
            left: 0;
            z-index: 9;
        }

        .pageTitle {
            text-align: center;
            height: 30px;
            line-height: 30px;
            top: -30px;
            position: absolute;
            width: 100%;
        }

        #red1 .ActivitiesThat {
            float: right;
            margin: 2% 5%;
        }

        #red1 .draggable:hover {
            cursor: move;
        }

        #red1 .resizable:hover {
            border: dashed 1px #4DA4DF;
            cursor: move;
        }

        #red1 .EnterpriseLogo, .AcceptRecord {
            width: 34px;
            height: 34px;
            background: #FFF;
            border-radius: 4px;
            font-size: 12px;
            text-align: center;
            display: flex;
            align-items: center;
            z-index: 100;
        }

        #red1 .EnterpriseLogo {
            position: absolute;
            top: 1%;
            left: 6%;
        }

        #red1 .title {
            position: absolute;
            top: 10%;
            width: 100%;
            height: 60px;
        }

        #red1 .middle {
            position: absolute;
            top: 25%;
            width: 100%;
            height: 170px;
        }

        .RedEnvelopeBtn {
            position: absolute;
            bottom: 25%;
            /*right: 0;*/
            left: 10%;
            /*margin: 0 auto;*/
            width: 80%;
            height: 35px;
            line-height: 35px;
            text-align: center;
            background-color: #F9BF26;
            border-radius: 20px;
            color: #763401;
            font-weight: 700;
            border: none;
        }

        .confirm {
            position: absolute;
            bottom: 22%;
            height: 60px;
            width: 140px;
            left: 50%;
            margin-left: -70px;
        }

        a.surport {
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            margin: 0 auto;
            width: 100%;
            display: block;
            text-align: center;
            color: whitesmoke;
            border: none;
            font-size: 12px;
        }


        .ActivitiesThat {
            color: #E4AC1E;
            border: 0 !important;
            text-decoration: underline;
            text-decoration-color: #E4AC1E;
        }

        #red1 .AcceptRecord {
            position: absolute;
            top: 1%;
            right: 6%;
        }

        #red1 .roasting {
            width: 80%;
            position: absolute;
            left: 0;
            right: 0;
            bottom: 6%;
            margin: 0 auto;
            background-color: whitesmoke;
            border-radius: 4px;
            padding: 5px 0;
            height: 65px;
        }

            #red1 .roasting > ul {
                margin-bottom: 0;
            }

                #red1 .roasting > ul > li {
                    display: flex;
                    justify-content: space-around;
                    align-items: center;
                    font-size: 12px;
                }



        #red2 .ActivitiesThat {
            position: absolute;
            bottom: 2%;
            margin: 0 auto;
            width: 100%;
            text-align: center;
        }

        #red2 .layer {
            display: flex;
            align-items: center;
            justify-content: center;
        }

            #red2 .layer .layer_div {
                width: 80%;
                height: 60%;
                border-radius: 4px;
                background: #FFF;
                color: #444;
            }

        #red2 .layer_title {
            font-size: 16px;
            height: 18%;
            display: flex;
            align-items: center;
            justify-content: center;
            border-bottom: #e5e5e5 1px solid;
        }

        #red2 .layer_content {
            font-size: 12px;
            overflow-y: hidden;
            height: 80%;
            padding: 5% 0 5% 5%;
        }

            #red2 .layer_content > div {
                overflow-y: auto;
                height: 100%;
            }

        #red3 ul li {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #CCCCCC;
            border-bottom: 2px solid #CCCCCC;
            padding: 10px;
        }

            #red3 ul li > div:nth-child(1) > div:nth-child(1) {
                color: #444;
            }

            #red3 ul li > div:nth-child(1) > div:nth-child(2) {
                color: #999;
            }

        #red4 {
            background: #F2F2F2;
        }

        .red4_head {
            padding: 15% 0%;
            background: #CCC;
            color: #FFF;
            text-align: center;
        }

            .red4_head > div:nth-child(1) {
                font-size: 18px;
            }

        .red4_body {
            padding: 5% 0%;
            background: #FFF;
            color: #999;
            text-align: center;
        }

            .red4_body > div:nth-child(1) > div:nth-child(2) {
                font-weight: 600;
            }

        #red5 {
            background: #980811;
        }

        #red2 .RedEnvelopeBtn, #red7 .RedEnvelopeBtn, #red8 .RedEnvelopeBtn {
            bottom: 10%;
        }

        #red7 .ActivitiesThat, #red8 .ActivitiesThat {
            position: absolute;
            bottom: 2%;
            margin: 0 auto;
            width: 100%;
            text-align: center;
        }

        #red7 .layer_div, #red8 .layer_div {
            margin: 0 auto;
            width: 80%;
        }

            #red7 .layer_div .layer_img, #red8 .layer_div .layer_img {
                width: 100%;
                height: 100px;
                margin-top: 20%;
            }

            #red7 .layer_div .layer_btn_parent, #red8 .layer_div .layer_btn_parent {
                display: flex;
                justify-content: space-between;
            }

            #red7 .layer_div .layer_btn_parent {
                margin-top: 15px;
            }

        #ChangeImg {
            display: none;
        }

        #ModalImg {
            height: 80px;
            width: 80px;
            margin: 0 auto;
        }

        #modal-label {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 1;
        }
    </style>

    <style>
        .phone {
            width: 100%;
            height: 100%;
            background: url("/Content/webImgs/Market/redPacket/redPacket-03.jpg");
            background-size: 100% 100%;
            padding: 0 5%;
        }

            .phone > p:nth-child(1) {
                color: #E29F7B;
                padding-top: 10px;
                font-size: 18px;
            }

            .phone > p:nth-child(2) {
                color: #E29F7B;
                margin: 5px 0 10px;
            }

            .phone .phone-num {
                display: flex;
                align-items: center;
                background-color: white;
                border-radius: 3px;
                margin-bottom: 10px;
            }

                .phone .phone-num > span {
                    padding: 5px;
                }

                .phone .phone-num > input {
                    border: none;
                    height: 100%;
                    width: 100%;
                    border-radius: 3px;
                    height: 30px;
                    line-height: 30px;
                }

            .phone .sure {
                display: block;
                text-decoration: none;
                background-color: #FFCC00;
                text-align: center;
                height: 35px;
                color: #763401;
                line-height: 35px;
                border-radius: 4px;
                margin: 20px auto;
            }

            .phone .user-info {
                border: 1px solid #d7d7d7;
                border-radius: 6px;
                width: 100%;
                height: 100px;
                overflow: hidden;
            }

                .phone .user-info > ul {
                    margin: 0;
                    padding: 0;
                }

                    .phone .user-info > ul > li {
                        display: flex;
                        margin: 10px auto 20px;
                        align-items: center;
                    }

                        .phone .user-info > ul > li > img {
                            width: 35px;
                            height: 35px;
                            border-radius: 40px;
                            margin-left: 10px;
                        }

                        .phone .user-info > ul > li > span {
                            color: white;
                        }


                            .phone .user-info > ul > li > span:nth-child(2) {
                                width: 60px;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                            }
    </style>

    <style>
        .red-con {
            width: 100%;
            height: 100%;
            background: url("/Content/webImgs/Market/redPacket/redPacket-01.jpg");
            background-size: 100% 100%;
            position: absolute;
            overflow: hidden;
        }

        .winnerName {
            position: absolute;
            bottom: 17%;
            color: #d7d7d7;
            width: 100%;
        }

            .winnerName .winnerCon {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }

        .red-con .clickRequest {
            position: absolute;
            bottom: 2%;
            right: 0;
            left: 0;
            margin: 0 auto;
            width: 70%;
            height: 35px;
            line-height: 35px;
            text-align: center;
            background-color: #F9BF26;
            border-radius: 20px;
            color: #763401;
            font-weight: 700;
            border: none;
        }

        .red-con .bg-con {
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            background-color: rgba(27, 1, 0, 0.8);
            display: none;
        }

            .red-con .bg-con .small-bg {
                width: 100%;
                height: 50%;
                position: absolute;
                left: 0;
                /*bottom: -50%;*/
                bottom: 0;
                background: url("/Content/webImgs/Market/redPacket/redPacket-02B.png");
                background-size: 100% 100%;
                z-index: 10;
            }

                .red-con .bg-con .small-bg > p:nth-child(1) {
                    text-align: center;
                    color: #FBCE02;
                    margin: 10px auto 0;
                }

                    .red-con .bg-con .small-bg > p:nth-child(1) > span {
                        color: #FBCE02;
                        font-size: 30px;
                        font-weight: 600;
                        text-align: center;
                    }

                .red-con .bg-con .small-bg > p:nth-child(2) {
                    text-align: center;
                    color: whitesmoke;
                    font-size: 20px;
                }

                .red-con .bg-con .small-bg > p:nth-child(3) {
                    text-align: center;
                    color: whitesmoke;
                    font-size: 16px;
                }

                .red-con .bg-con .small-bg > a.add {
                    display: block;
                    text-decoration: none;
                    width: 80%;
                    height: 35px;
                    line-height: 35px;
                    text-align: center;
                    background-color: #FFCC00;
                    border-radius: 20px;
                    color: #763401;
                    font-weight: 700;
                    position: absolute;
                    bottom: 10px;
                    left: 0;
                    right: 0;
                    margin: 0 auto;
                }
    </style>
</head>
<body>
    <div class="isNoPublic">
        活动尚未发布，当前仅供预览！
    </div>
    <div id="content">

    </div>
</body>
</html>
<script src="~/Scripts/base64.js"></script>
<script>
   
   var tid = "@ViewBag.Tid";//模板Id
    $.ajax({
        url: "GetErrorHtml",
        data: { Tid:tid},
        type:"post",
        success: function (res) {
            var html = decode(res);
            $("#content").html(html);
        }
    });
 

</script>